package org.example.demo3.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.demo3.entity.Survey;
import java.util.List;

@Mapper
public interface SurveyMapper {
    List<Survey> getAllSurveys();
    Survey getSurveyById(Integer id);
    int insertSurvey(Survey survey);
    int updateSurvey(Survey survey);
    int deleteSurvey(Integer id);
}
